﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
    public  class LOAITHEBUS
    {
        public static DataTable GetListBC()
        {
            LOAITHEDAO b = new LOAITHEDAO();
            return b.GetListLOAITHE();
        }
		public static List<LOAITHE> GetListBCs()
		{
			LOAITHEDAO b = new LOAITHEDAO();
			return b.GetListLOAITHEs();
		}
        public static String CreateNewID()
        {
            LOAITHEDAO b = new LOAITHEDAO();
            return b.CreatenewId();
        }
        public static bool INSERT(LOAITHE bc)
        {
            LOAITHEDAO b = new LOAITHEDAO();
            return b.INSERT(bc);
        }
        public static bool UPDATE(LOAITHE bc)
        {
            LOAITHEDAO b = new LOAITHEDAO();
            return b.UPDATE(bc);
        }
        public static bool DELETE(LOAITHE bc)
        {
            LOAITHEDAO b = new LOAITHEDAO();
            return b.DELETE(bc);
        }
    }
}
